package com.tarena.luban.log.study.log4j;
import org.apache.log4j.Logger;
public class Log4jMain {
    private static final Logger logger = Logger.getLogger(Log4jMain.class);
    public static void main(String[] args) {
        logger.trace("hello log4j trace");
        logger.debug("hello log4j debug");
        logger.info("hello log4j info");
        logger.warn("hello log4j warn");
        logger.error("hello log4j error");
        logger.fatal("hello log4j fatal");
    }
}
